from django.conf.urls import url
from . import views

urlpatterns = [
    # 创建订单, 获取订单列表
    url(r'^orders/$', views.OrderViews.as_view()),
    # 接受或者拒绝订单
    url(r'^orders/(?P<order_id>\d+)/status/$', views.AcceptOrRejectOrder.as_view()),
    # 评价订单
    url(r'^orders/(?P<order_id>\d+)/comment/$', views.OrderComment.as_view()),
    ]
